$path = Split-Path -Parent $MyInvocation.MyCommand.Definition
Set-location -Path $path

Get-ChildItem blocklist | 
ForEach-Object -Process{
    if($_ -is [System.IO.FileInfo] -and $_.name -ne ".gitkeep"){
        Write-Output($_.name)
    }
}|
Out-File -FilePath blocklist.txt